#!/bin/bash
#

read -p "输入行数：" n

for((i=1;i<=n;i++));do
    for((k=1;k<=i-1;k++));do
	echo -n "  "
    done
    for((j=1;j<=2*(n-i)+1;j++));do
	echo -n "* "
    done
    echo
done
